package com.app.model.main;

public class RewardArticle {
     private Long id;

    private Long articleId;

    private Long userId;

    private String time;

    private Long coin;

    private String adoptedTime;

    private Byte status;

    private Long commentId;

    private Byte flag;


    public Long getId() {
        return id;
    }

    public RewardArticle setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getArticleId() {
        return articleId;
    }

    public RewardArticle setArticleId(Long articleId) {
        this.articleId = articleId;
        return this;
    }

    public String getTime() {
        return time;
    }

    public RewardArticle setTime(String time) {
        this.time = time == null ? null : time.trim();
        return this;
    }

    public Long getCoin() {
        return coin;
    }

    public RewardArticle setCoin(Long coin) {
        this.coin = coin;
        return this;
    }

    public String getAdoptedTime() {
        return adoptedTime;
    }

    public RewardArticle setAdoptedTime(String adoptedTime) {
        this.adoptedTime = adoptedTime == null ? null : adoptedTime.trim();
        return this;
    }

    public Byte getStatus() {
        return status;
    }

    public RewardArticle setStatus(Byte status) {
        this.status = status;
        return this;
    }

    public Long getCommentId() {
        return commentId;
    }

    public RewardArticle setCommentId(Long commentId) {
        this.commentId = commentId;
        return this;
    }

    public Long getUserId() {
        return userId;
    }

    public RewardArticle setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public Byte getFlag() {
        return flag;
    }

    public RewardArticle setFlag(Byte flag) {
        this.flag = flag;
        return this;
    }
}